package com.douqu.game.core.database.model;

import java.util.Date;

/**
 * @Author: Bean
 * @Description:
 * @Date: 2017-12-29 15:28
 */
public class GMLogModel {

    private int id;

    private String optionPerson;

    private int type;

    private String value;

    private String playerIndex;

    private String content;

    private Date createTime;

    public GMLogModel(){}

    public GMLogModel(String optionPerson, String content, int type, String value, String playerIndex)
    {
        this.optionPerson = optionPerson;
        this.content = content;
        this.type = type;
        this.value = value;
        this.playerIndex = playerIndex;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOptionPerson() {
        return optionPerson;
    }

    public void setOptionPerson(String optionPerson) {
        this.optionPerson = optionPerson;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getPlayerIndex() {
        return playerIndex;
    }

    public void setPlayerIndex(String playerIndex) {
        this.playerIndex = playerIndex;
    }

    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", optionPerson='" + optionPerson + '\'' +
                ", content='" + content + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
